package com.shop.cereshop.app.service.order;

import com.shop.cereshop.app.page.cart.CartSku;
import com.shop.cereshop.commons.domain.order.CereOrderProduct;
import com.shop.cereshop.commons.exception.CoBusinessException;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CereOrderProductService {
    void insert(CereOrderProduct orderProduct) throws CoBusinessException;

    List<CartSku> findOrderProductSku(Long orderId);

    CereOrderProduct selectByOrderId(@Param("orderId") Long orderId);
}
